package com.cy.kind;

public class cat {
    public   String name;
    public  int  age;
    public  String  color;

    public  void sound (){
        System.out.println("发出声音");
    }


    public static void main(String[] args) {
        cat cat  = new cat ();
        cat.name = "猫";
        cat.age = 12;
        cat.color = "白";
        System.out.println(cat.name);
        System.out.println(cat.age);
        System.out.println(cat.color);
        cat.sound();
            System.out.println("发出声音");


    }
}


